package com.ruoyi.system.mapper.vant.team;

import com.ruoyi.system.domain.construction.RentalLabel;
import com.ruoyi.system.domain.construction.RentalService;
import com.ruoyi.system.domain.construction.Team;

import java.util.List;

/**
 * 租赁服务前端接口数据层
 */
public interface ApiRentalMapper {

    /**
     * 查询租赁服务列表
     * @return
     */
    public List<Team> selectLeaseList();

    /**
     * 根据分类ID查询租赁服务商品列表
     * @param teamId
     * @return
     */
    public List<RentalService> selectRentalServiceList(Integer teamId);

    /**
     * 推荐查询
     * @return
     */
    public List<RentalService> selectRentalService();

    /**
     *
     * @param rentalId
     * @return
     */
    public RentalService selectRentalServiceById(Long rentalId);

    /**
     * 查询租赁服务规格列表
     * @param rentalId
     * @return
     */
    public List<RentalLabel> selectRentalLabelByServiceId(Long rentalId);
    public List<RentalService> selectRentalServiceListOne(String address);
    public List<RentalService> selectRentalServiceListTwo(RentalService rentalService);
}
